﻿/*Lớp sử dụng riêng lẻ*/

#region {
}

#endregion {
}

/*#region validation Helpers*/
.field-validation-error {
    color: #ff0000;
    /*display: block;*/
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 15px;
}

.validationn-summary-valid {
    display: none;
}
/*#endregion*/

/*#region popup system-message*/
@-moz-keyframes appear-from-right {
    0%{
        opacity: 0;
        right: -100px;
    }
    100% {
        opacity: 100;
        right: 0px;
    }
}

@-ms-keyframes appear-from-right {
    0%{
        opacity: 0;
        right: -100px;
    }
    100% {
        opacity: 100;
        right: 0px;
    }
}

@-webkit-keyframes appear-from-right {
    0%{
        opacity: 0;
        right: -100px;
    }
    100% {
        opacity: 100;
        right: 0px;
    }
}

@keyframes appear-from-right {
    0%{
        opacity: 0;
        right: -100px;
    }
    100% {
        opacity: 100;
        right: 0px;
    }
}

.system-message {
    top: 75px;
    right: 0px;
    position: fixed;

    -moz-animation: appear-from-right 0.5s linear 0 normal;
    -o-animation: appear-from-right 0.5s linear 0 normal;
    -webkit-animation: appear-from-right 0.5s linear 0 normal;
    animation: appear-from-right 0.5s linear 0 normal;
}

    .system-message .message-error,
    .system-message .message-success {
        display: block;
        min-height: 32px;
        max-width: 100%;
        padding: 8px; /*khong dùng vì sẽ hiện khi không có*/
        /*line-height: 20px;*/ /*cách line*/
        /*text-indent: 10px;*/ /*cách đầu dòng*/
        background-repeat: no-repeat;
        background-position: 8px 3px;
        padding-left: 40px;
        padding-right: 25px;
        -moz-box-shadow: #9E9E9E 0px 0px 15px;
        -webkit-box-shadow: #9E9E9E 0px 0px 15px;
        box-shadow: #9E9E9E 0px 0px 15px;
    }

        .system-message .message-error {
            color: rgba(200, 0, 0, 1);
            background-color: rgba(255, 200, 200, 1);
            background-image: url(../../Images/error.png);
        }

        .system-message .message-success {
            color: rgba(0, 200, 0, 1);
            background-color: rgba(200, 255, 200, 1);
            background-image: url(../../Images/ok.png);
        }
        /*#endregion*/


/*#region Captcha*/
#captcha-image {
    width: 100px;
    margin: 0px 5px;
}

#refresh-captcha {
    cursor: pointer;
}
/*#endregion*/


/*#region contain*/
.container {
    clear: both;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

    .container:after {
        /*bao bọc float item - show contain height*/
        content: "";
        display: table;
        clear: both;
    }

.table-contain {
    overflow: auto;
    margin: 15px auto;
    border-bottom: 2px solid #9C27B0;
    -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1), 0px 10px 15px rgba(0, 0, 0, 0.05), 0px 15px 15px rgba(0, 0, 0, 0.05), 0px 20px 15px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1), 0px 10px 15px rgba(0, 0, 0, 0.05), 0px 15px 15px rgba(0, 0, 0, 0.05), 0px 20px 15px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1), 0px 10px 15px rgba(0, 0, 0, 0.05), 0px 15px 15px rgba(0, 0, 0, 0.05), 0px 20px 15px rgba(0, 0, 0, 0.05);
}
/*#endregion*/


/*#region header*/
.page-header {
    padding-bottom: 5px;
    margin: 30px 0 15px;
    border-bottom: 1px solid #e0e0e0;
}

.placeholder {
    font-weight: bold;
    color: rgba(0,0,0,0.3);
}
/*#endregion*/

/*#region page - footer*/
.page-footer {
    padding-top: 5px;
    margin: 20px 0 10px;
    border-top: 1px solid #e0e0e0;
}
/*#endregion*/


/*#region List-vertical*/
.list-group {
    
}

    .list-group a {
        color: black;
    }

    .list-group > .header{
        padding: 10px 10px 10px 40px;
        font-weight: bold;
    }

    .list-group > .list-group-item {
        color: black;
        border: 1px solid #eee;
    }

        .list-group > .list-group-item > img {
            height: 24px;
            float: left;
            padding: 5px 0px 0px 15px; 
        }

        .list-group > .list-group-item > .list-group-item-contain {
            padding: 10px 10px 10px 40px;
            display: block;
            margin-top: -1px;
        }

        .list-group > .list-group-item > .list-group-item-contain:hover {
            background-color: #eee;
            text-decoration: none;
        }
/*#endregion*/

/*#region list-vertical-basic*/
.list-vertical {
    text-decoration: none;
}

    .list-vertical > div {
        display: block;
        margin-bottom: 5px;
    }
/*#endregion*/

/*#region list info*/
ul.info {

}
    ul.info li:before {
        content: url(../../Images/check-16.png);
    }
/*#endregion*/


/*#region input button*/
.button-edit,
.button-delete {
    background-position: center center;
    background-size: contain;
    display: inline-block;
}

.button-edit {
    padding-left: 20px;
}

.button-edit:after {
    content: url(../../Images/edit-16.png);

}

.button-delete {
    background-image:url(../../Images/delete-16.png);
}

/*#endregion*/


/*#region image Size*/
.size-16 {
    width: 16px;
    height: 16px;
}
.size-20 {
    width: 20px;
    height: 20px;
}
.size-24 {
    width: 24px;
    height: 24px;
}
.size-32 {
    width: 32px;
    height: 32px;
}
.size-48 {
    width: 48px;
    height: 48px;
}
.size-64 {
    width: 64px;
    height: 64px;
}
.size-128 {
    width: 128px;
    height: 128px;
}
/*#endregion*/

/*#region button*/
.close-parent {
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    background-image: url(../../Images/close-32.png);
    background-size: cover;
}

.close-parent:hover {
    background-color: #eee;
}
/*#endregion*/

/*#region input group*/

/*#endregion*/

/*đổ bóng nhẹ*/
.my-shadow {
    -moz-box-shadow: black 0 0 2px;
    -webkit-box-shadow: black 0 0 2px;
    box-shadow: black 0 0 2px;
}

.hidden {
    display: none !important;
}

.max-width {
    width: 100%;
}

.max-height {
    height: 100%;
}

.inline {
    display: inline;
}

.nowrap{
    white-space: nowrap;
}

.B{
    font-weight: bold;
}

.BI {
    font-weight: bold;
    font-style: italic;
}

/*#region Data type*/
*[data-type=Send],
*[data-type=Receive],
*[data-type=SMS],
*[data-type=VIBER],
*[data-type=WhatsApp]{
    
}
*[data-type=Send]:before,
*[data-type=Receive]:before,
*[data-type=SMS]:before,
*[data-type=VIBER]:before,
*[data-type=WhatsApp]:before{
    content: "";
    float: left;
    width: 24px;
    height: 24px;
    background-size: contain;
}

*[data-type=Send]:before{
    background-image: url("../../Images/send-48.png");
}
*[data-type=Receive]:before{
    background-image: url("../../Images/receive-48.png");
}
*[data-type=SMS]:before{
    background-image: url("../../Images/mail-48.png");
}
*[data-type=VIBER]:before{
    background-image: url("../../Images/viber-48.png");
}
*[data-type=WhatsApp]:before{
    background-image: url("../../Images/whatsapp-48.png");
}
/*#endregion*/

@media (max-width: 992px) {
}

@media (max-width: 768px) {
    .field-validation-error {
    }
}
